package com.rain.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * @auther: rain
 * @description: 
 * @date: 2025-10-31
 */
public class SysUserUnit implements Serializable {

	/**
	 * 
	 */
	private Integer id;

	/**
	 * 用户id
	 */
	private Integer userId;

	/**
	 * 单位id
	 */
	@JsonIgnore
	private Integer unitId;

	public void setId(Integer id)  { 
		this.id = id;
	}

	public Integer getId( ) { 
		return this.id;
	}

	public void setUserId(Integer userId)  { 
		this.userId = userId;
	}

	public Integer getUserId( ) { 
		return this.userId;
	}

	public void setUnitId(Integer unitId)  { 
		this.unitId = unitId;
	}

	public Integer getUnitId( ) { 
		return this.unitId;
	}

	@Override
	public String toString()  {
		return " SysUserUnit { id: " + id + ", " + "userId: " + userId + ", " + "unitId: " + unitId + " } ";
	}
}